package com.xhwl.data.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.sdata.space.OrganizationImport;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 11:04 2021/10/26
 */
@RestController
public interface IOrganizationImportService extends IService<OrganizationImport> {
    Page page(Integer enterpriseId, String fileName, Page page);

    /**
     * 导入历史分页查询
     */
    @GetMapping(value = "/organizationImport-excel-history/page")
    ResultJson getOrganizationHistoryImport(@RequestParam(value = "enterpriseId", required = false) Integer enterpriseId,
                                            @RequestParam(value = "fileName", required = false) String fileName,
                                            Page page);
}
